<ion-view set-dom>
    <ion-header-bar ng-show="!isSearch" align-title="center" class="com-header bg-f7 border-1px-ccc">
        <div class="buttons">
            <button ng-click="back()" class="button fs-0"><i class="icon ion-ios-arrow-back color-333 fs-18"></i>
            </button>
        </div>
        <h1 class="title">我的预约</h1>
    </ion-header-bar>
    <ion-content class="bg-f7" overflow-scroll="false" scrollbar-y="false" has-bouncing="false">
       <div class="com-list bg-white">
           <div ng-repeat="item in shopList" ng-click="showDetail(item)" class="weui-flex com-list-item border-1px-f5" ng-class="{true:'is-edit'}[item.isEdit]" style="">
               <div ng-click="toDetail($index, item.id)" class="img-cont">
                   <img src="./asset/car_customer/images/data/shop.jpg" class="img">
                   <!--<div class="mask fs-10 text-center color-white">商家休息中</div>-->
               </div>
               <div ng-click="toDetail($index, item.id)" class="weui-flex__item item-cont">
                   <div class="my-title fs-0">
                       <h2 class="title color-333 fs-14 inline-block txt-line-1">重庆靓车会专业汽车重庆靓车会专业汽车</h2>
                   </div>
                   <div class="detail fs-10 color-999 mt-10 mb-5">预约时间:2017-09-12 12:12:12</div>
                   <div class="adress fs-10 color-ccc ver-top txt-line-1">
                       <span class="">洗车</span>
                       <span class="">姓名</span>
                       <span class="">13333333333</span>
                   </div>
               </div>
               <div ng-show="$index==0" class="more fs-14 color-blue">
                   已预约
                   <div ng-click="showCard(item)" class="weui-btn weui-btn_mini weui-btn_primary fs-10 fr bg-ioy-blue pl-0 pr-0 w-70 lh-22 mt-35">使用</div>
               </div>
               <div ng-show="$index==1" class="more fs-14 color-999">
                   已使用
                   <div class="weui-btn weui-btn_mini weui-btn_primary fs-10 fr bg-999 pl-0 pr-0 w-70 lh-22 mt-35">再来一单</div>
               </div>
           </div>
       </div>

    </ion-content>
    <div ng-show="showCardItem" class="js_dialog reservationAlert animated fadeIn" id="iosDialog2">
        <div class="weui-mask" style=""></div>
        <div class="weui-dialog">
            <div class="weui-dialog__bd">
                <img class="h-100" src="/car_customer/asset/car_customer/images/icon/alert_img.png" alt="">
                <p class="mt-20 fs-14">请将卡密出示给工作人员核销</p>
                <p class="fs-20 color-blue">{{showCardItem.card}}</p>
            </div>
            <div class="weui-dialog__ft">
                <a ng-click="closeCard()" href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary color-blue">确认</a>
            </div>
        </div>
    </div>
</ion-view>
